package com.qianfeng.controller;

import org.apache.log4j.Logger;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;

@Controller
public class TestController {
  
	private static Logger log= Logger.getLogger(TestController.class);
	
	@RequestMapping("/tests")
	@ResponseBody
	public String tests() {
		System.out.println("jjjjjj");
		
		log.debug("debug日志");
		log.info("info日志");
		log.warn("warn日志");
		log.error("error日志11111");
		return  "tests";
	}
}
